let express = require('express');
let app = express();

app.get('/say', function(req, res) {
  let {name, cb} = req.query;
  console.log(name)
  res.end(`${cb}({password: "服务端返回密码"})`)
})

app.listen(8080, () => {
  console.log('服务器启动成功')
})

// 修改了服务端文件需要重新启动